{extends file="../home.html"}
{block name="title"}{$head_title}{/block}
{block name="css"}
<link rel="stylesheet" type="text/css" href="/Public/Css/front/front_css/sama_part2.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/front/front_css/refresh_load.css?version={$version}"/>

<style type="text/css">
	/*html,body{
		width: 100%;
		height: 100%;
	}*/
	#load_wrapper{
		position: relative;
		display: block;
		margin-top: 0rem;
		width: 100%;
		height: auto;
	}

		
		.channel_icon{
			
			border-radius: 0.2rem;
			position: relative;
			left: 0%;
			top: 0.5rem;
			width: 2.0rem;
			height: 2.0rem;
		}
		.channelsize{
			height: 3.0rem;
		}
		.channelsize p{
			height: 1.1rem;
			line-height: 1.1rem;
			font-size: 0.8rem;
			color: #323232;
			width: 30%;
			position: relative;
			left: 15.67%;
			top:-1.08rem;
		}
</style>
{/block}
{block name="content"}
<div class="his_concern">
	<div class="go_back"></div>
	<p><strong>{$head_title}</strong></p>
</div>
<!--没有关注频道时-->
{if !$channel_list}
<img class="his_detail_icon" src="/Public/Images/front/front_img/icon_noattention_pindao@3x.png">
<p class="his_detail_word">他还没有关注任何频道哦</p>
{else}
<div id="load_wrapper">
<div id="scroller">
	<div id="pullDown">
		    <span class="pullDownIcon"></span>
		</div>
	<div class="concern_number">他关注了{$total}个频道</div>
	<div class="concern_content">
		<div class="concern_list">
			{foreach from = $channel_list item = this}
			<a href="/FrontChannel/post_list/channel_id/{$this.followed_id}" class="native_go">
				<ul class="concern_line channelsize">
					<img class="channel_icon" src="{$this.icon}">
					<p>{$this.channel_name} </p>
				</ul>
			</a>
			{/foreach}
		</div>
		<div id="pullUp">
			<span class="pullUpIcon"></span><span class="pullUpLabel">上拉加载...</span>
		</div>
	</div>
</div>
</div>
{/if}
{/block}
{block name="js"}
<script type="text/javascript" src="__JS__/front/front_js/iscroll.js"></script>
<script type="text/javascript" src="__JS__/front/front_js/others_channel.js"></script>
<script>
	var user_id = parseInt('{$user_id}')
	var total = parseInt('{$total}')
	var firstRow = parseInt('{$firstRow}')
</script>
{literal}
<script type="text/javascript">
	
	//点击一栏进入个人主页
	$('.concern_content').on('click','#line1',function(){
		window.location.href =''
	});




</script>
{/literal}
{/block}